export HML_PATH=/opt/hygon/hml/hml-1.5.0
export OPT=" -O3 -fopenmp -fopenmp-simd -DHAVE_HYGON_HML -DNDEBUG -fno-math-errno -I${HML_PATH}/include -L${HML_PATH}/lib -Wl,-rpath,${HML_PATH}/lib -lhblas -lhvml -lhlm -lhsparse -lhlapack_lp64 -lfftw3 -lm -lgfortran"
#export CFLAGS=" -O3 -fopenmp -fopenmp-simd -DHAVE_HYGON_HML -DNDEBUG -fno-math-errno -I${HML_PATH}/include -L${HML_PATH}/lib -Wl,-rpath=${HML_PATH}/lib -lhblas -lhvml -lhlm -lhsparse -lhlapack_lp64 -lfftw3 -lm -lgfortran"
NPY_BLAS_ORDER='blis' NPY_LAPACK_ORDER='lapack' python3 setup.py build -j16 install
#python3 setup.py build -j16 install
